package com.qpl.depression.cms.repository;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qpl.depression.cms.entity.CategoryLevel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qpl
 * @since 2021-05-16
 */
public interface CategoryLevelRepository extends BaseMapper<CategoryLevel> {

    List<CategoryLevel> getByName(@Param("name") String name, @Param("categoryId") Long categoryId);
}
